package com.tg.push;

import android.content.Intent;

public class TGPushUtils {

    private static final String VIVO_PUSH_MESSAGE_ID_NAME = "vivo_push_messageId";

    public static boolean isIntentContainsVivoMessage(Intent intent) {

        if (intent == null) {
            return false;
        }

        if (intent.getExtras() != null && (intent.hasExtra(VIVO_PUSH_MESSAGE_ID_NAME)||intent.getExtras().toString().contains("tag_msg"))) {
            return true;
        }

        return false;
    }

}
